package com.bbmc.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.bbmc.pojo.SysUser;
import com.bbmc.service.TestService;


@Controller
@RequestMapping("/login")
public class LoginController {

	
	@Autowired
	private TestService testService;
	
	
	@RequestMapping("/index")
	public String index(){
		SysUser sysUser = testService.getUser();
		return "login";
	}
	
}
